Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rules dont ban functions like nameof() for storing data. #12

Closed
MrRaV0 opened this issue Jul 21, 2023 · 3 comments
Closed

Rules dont ban functions like nameof() for storing data. #12

MrRaV0 opened this issue Jul 21, 2023 · 3 comments

Comments

@MrRaV0
Copy link

MrRaV0 commented Jul 21, 2023

A string that is constructed using "" has a token-count that depends on its size. I would assume that this is done to avoid freely storing lots of data.

This token cost can be avioded by putting your data in the name of a function, and then returning nameof() within that funtion.

@CeniusM
Copy link

CeniusM commented Jul 21, 2023

Sience a name is a single token, could You in theory make the stockfish neural network wheights and biases into a single string and load that for the first round and use that as your evaluation?

@SebLague
Copy link
Owner

That's a great point thank you. I'll add it to the rules!

@VictorSohier
Copy link

Dammit, I was thinking of abusing this with an emulator (not that it was going to fit, I'm surprised how much I fit in though). BTW, this isn't unbounded, it is merely a more than intended.

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

No branches or pull requests

4 participants