File: Changes

package info (click to toggle)
libaccessors-perl 1.01-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 164 kB
  • sloc: perl: 330; makefile: 2
file content (41 lines) | stat: -rw-r--r-- 1,744 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Revision history for 'accessors' Perl pragma
--------------------------------------------

All changes by Steve Purkis, unless otherwise noted.

1.01
    +	only run benchmark tests when $ENV{BENCHMARK_ACCESSORS} is set.
	(tests were failing randomly, and annoying lots of people)

1.00
    +	released as 1.0 to solidify the API & guarantee backwards compat
    +	fixed RT #29753: Suppress warnings in "make test"
	(it was a bug in the test code)
    +	included accessors::ro (read only) and accessors::rw (read/write)
	on chocolateboy's request.
    *	changed performance test to be more lenient:
	'set/get generated is < 15% slower than optimized (X %)'
	Threshold is now < 30% slower, because it was failing on some platforms
	(probably due to the amount of warnings generated by RT #29753, but
	 upped the threshold anyway).
    +	set more invalid accessor names [updated list from chocolateboy]


0.02
    +	made method-chaining accessors the default.
    *	created accessors::classic and accessors::chained, and killed the
	'use accessors qw( foo :style )' syntax.
    +	now compat with perl 5.6+ [reported by Michael Schwern]
    +	tests no longer noisy (no blib or benchmark diagnostics)
	[reported by Michael Schwern]
    +	using closures + anon sub instead of eval [reported by Michael Schwern]
    +	moved generation methods into simple subs & optimized (smaller pad to
	restore, results in faster, well factored code)
    +	added InvalidNames to catch things like AUTOLOAD & DESTROY
	[reported by James Duncan]
    +	s/cascading/chaining/ [reported by James Duncan]
    +	refactored test suite, added benchmarks for classic accessors.
    +	updated docs

0.01
    +	created Fri Sep 12 2003 after a conversation with Michael Schwern.