Skip to content

brmmm3/compare-recordclass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

compare-recordclass

Compare recordclass with namedtuple and dataclass

Object size

Module Size
namedtuple 96
recordclass 96
dataclass 56

dataclass has the smallest footprint.

Time to finish

Module Create Sum by index Sum by name Sort
namedtuple 0.505 0.283 0.482 0.383
recordclass 0.459 0.275 0.297 0.400
dataclass 0.682 - 0.396 -

recordclass is the fastest solution.

About

Compare recordclass with namedtuple and dataclass

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages