Ticket #1770 (closed RFC: fixed)
Boolean PMC without Integer
Reported by: | Paul C. Anagnostopoulos | Owned by: | Paul C. Anagnostopoulos |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | core | Version: | 2.6.0 |
Severity: | low | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: |
Description
This ticket represents work being doing on a new Boolean PMC that does not inherit from Integer. The work is being done in the sleeker_boolean branch. The central idea, suggested by chromatic, is to eliminate the dependency on Integer and store the boolean value in a PObj flag.
I have implemented a new PMC that passes the boolean tests. It looks like boolean operations are about 20% faster, primarily due to the fact that they don't require allocating attribute blocks.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.