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

Super Fast #24

Merged
merged 82 commits into from
Oct 11, 2024
Merged

Super Fast #24

merged 82 commits into from
Oct 11, 2024

Conversation

lainio
Copy link
Owner

@lainio lainio commented Oct 11, 2024

  • assert package:
    • bug fix: call stack traversal during unit testing in some situations
    • all generics-based functions are inline expansed
    • performance is now same as if-statements for all functions
    • new assert functions: MNil, CNil, Less, Greater, etc.
    • all assert messages follow Go idiom: got, want
    • Asserter new type helps docs and rest of code
    • Asserter can be pushed and popped per goroutine: PushAsserter
  • try package:
    • new check functions: T, T1, T2, T3, for quick refactoring from
      To functions to annotate an error locally
    • all functions are inline expansed: if-statement equal performance
  • sample/ new play modes: assert & assert-keep, try it!
  • Lots of refactorings
  • New code formatter used golines for readability
  • Better documentation, like restructuring README.md, assert pkg

@lainio lainio merged commit aa59314 into master Oct 11, 2024
18 checks passed
@lainio lainio deleted the bench-tests branch October 11, 2024 16:14
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.

1 participant