Skip to content

Support creating types via deftype without __slots__ #1241

Closed
@chrisrink10

Description

@chrisrink10

By default deftype creates new types with __slots__ for memory efficiency, but this can create issues occasionally with inheritance or other features. There should be a meta flag that can be provided to disable the creation of __slots__.

(deftype {:slots false} Point [x y z])

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions