Skip to content

Most filters in alloc should be possible to implement without alloc #472

@Kijewski

Description

@Kijewski

PR #466 can serve as a great example on how to convert filters to not use alloc.

I think it's possible for

I think it would be possible for ↓, but Greek's sigma-rules would make it comparatively more difficult than other other filters:

  • capitalize
  • lower | lowercase
  • title | titlecase

I don't think it would be possible for trim, because there can be an unrestricted amount of whitespaces in between other characters.

  • trim

I don't think it's possible for ↓, because format! simply needs alloc:

  • fmt
  • format

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions