| 1 |
Revision history for 'accessors' Perl pragma |
| 2 |
-------------------------------------------- |
| 3 |
|
| 4 |
All changes by Steve Purkis, unless otherwise noted. |
| 5 |
|
| 6 |
1.01 |
| 7 |
+ only run benchmark tests when $ENV{BENCHMARK_ACCESSORS} is set. |
| 8 |
(tests were failing randomly, and annoying lots of people) |
| 9 |
|
| 10 |
1.00 |
| 11 |
+ released as 1.0 to solidify the API & guarantee backwards compat |
| 12 |
+ fixed RT #29753: Suppress warnings in "make test" |
| 13 |
(it was a bug in the test code) |
| 14 |
+ included accessors::ro (read only) and accessors::rw (read/write) |
| 15 |
on chocolateboy's request. |
| 16 |
* changed performance test to be more lenient: |
| 17 |
'set/get generated is < 15% slower than optimized (X %)' |
| 18 |
Threshold is now < 30% slower, because it was failing on some platforms |
| 19 |
(probably due to the amount of warnings generated by RT #29753, but |
| 20 |
upped the threshold anyway). |
| 21 |
+ set more invalid accessor names [updated list from chocolateboy] |
| 22 |
|
| 23 |
|
| 24 |
0.02 |
| 25 |
+ made method-chaining accessors the default. |
| 26 |
* created accessors::classic and accessors::chained, and killed the |
| 27 |
'use accessors qw( foo :style )' syntax. |
| 28 |
+ now compat with perl 5.6+ [reported by Michael Schwern] |
| 29 |
+ tests no longer noisy (no blib or benchmark diagnostics) |
| 30 |
[reported by Michael Schwern] |
| 31 |
+ using closures + anon sub instead of eval [reported by Michael Schwern] |
| 32 |
+ moved generation methods into simple subs & optimized (smaller pad to |
| 33 |
restore, results in faster, well factored code) |
| 34 |
+ added InvalidNames to catch things like AUTOLOAD & DESTROY |
| 35 |
[reported by James Duncan] |
| 36 |
+ s/cascading/chaining/ [reported by James Duncan] |
| 37 |
+ refactored test suite, added benchmarks for classic accessors. |
| 38 |
+ updated docs |
| 39 |
|
| 40 |
0.01 |
| 41 |
+ created Fri Sep 12 2003 after a conversation with Michael Schwern. |