Skip to content

Feature request: specialized persistent vectors #8

@phoe

Description

@phoe

(defun make-array-chunk ()
(make-array +chunk-size+ :initial-element nil))

Maybe the chunks could be specialized to a given type, e.g. fixnum or unsigned-byte 8 for boosts in memory usage and minor boosts in access speed. That's just the data part though, I have no idea how to portably and easily optimize access speed for the specialized versions of the code. Maybe polymorphic-functions would help here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions