Posted By: Sylvain Joyeux
Date: 2007-02-02 23:17
Summary: utilrb 0.2.3
Project: Utilrb
utilrb version 0.2.3 has been released!
== What is Utilrb ?
Utilrb is yet another Ruby toolkit, in the spirit of facets. It includes all
the standard class extensions I use in my own projects like Genom.rb.
== Utilrb's C extension
Utilrb includes a C extension in ext/. It is optional, but some of the
functionalities will be disabled if it is not present. Trying to require
a file in which there is a C-only feature will yield a warning on STDOUT.
* some features have a Ruby version, but a C version is provided for
performance:
- Enumerable#each_uniq
* some features are C-only
- ValueSet class
- Kernel#swap!
Changes:
=== Version 0.2.3
* new features:
- BenchmarkAllocation, a Benchmark-like interface to benchmark object
allocation
- ValueSet#delete_if
- Time#from_hms takes a time as "h:m:s.ms" and builds the corresponding
Time object. Note that "s", "s.ms", "m:s", "m:s.ms", ... are accepted
formats
* changes and fixes:
- define Queue#get only if we are using Ruby's core Queue. The current
implementation is incompatible with fastthread for instance (and
fastthhread's maintainer does not want #get on its Queue). Included
a patch to define Queue#get on fastthread
- fix ValueSet#== raising if the argument is not a ValueSet
- fix brain-dead SequenceEnumerator#+, which was changing its receiver |
|