Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Mar 6, 2014

All good?

@zah
Copy link
Member

zah commented Mar 6, 2014

Can you also add tests for the typedesc based procs?

@ghost
Copy link
Author

ghost commented Mar 6, 2014

Aren't they included? Also, are there any additional assertions I can make?

@zah
Copy link
Member

zah commented Mar 6, 2014

Ah, Sorry - I don't know where I was looking.

@zah zah closed this Mar 6, 2014
@zah zah reopened this Mar 6, 2014
zah added a commit that referenced this pull request Mar 6, 2014
@zah zah merged commit d8e917f into nim-lang:devel Mar 6, 2014
@ReneSac
Copy link
Contributor

ReneSac commented Mar 6, 2014

It would be nice to have some usage examples with comments in the documentation.

zah added a commit that referenced this pull request Apr 7, 2014
Clyybber added a commit to Clyybber/Nim that referenced this pull request Oct 19, 2023
## Summary
* Removed two node flags unused after the VM rework, which reduced the
size of  `TNodeFlags`  to 2 bytes
* Moved the  `id`  field below  `typ`  because  `typ`  requires an
alignment of 8 bytes, while  `id`  has a size of 8 bytes
* The two changes above combined result in reducing the size of `TNode`
from 48 to 40 bytes on a x86_64 system

## Details
* More node flags can be removed/moved from  `TNodeFlag` , but that
won't reduce the size of  `TNode`  further (unless they are reduced to
only 8 node flags), so I'll make a seperate PR for those

---------

Co-authored-by: zerbina <100542850+zerbina@users.noreply.github.com>
Co-authored-by: Saem Ghani <saemghani+github@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants