Skip to content

Better log search/traversal. #773

Description

@Heimdell

I read on forum, that cutting trees is a bit laggy, and took a look onto the code, which maybe does the thing: https://github.com/Deadrik/TFCraft/blob/master/src/Common/com/bioxx/tfc/Blocks/Flora/BlockLogNatural.java#L245

I'll try to reimplement this traversal using for-loops and queues, instead of recursion.

If I made mistake and this is not the log-enumeration mechanism, please tell.

Also, the ProjectE mod, which has mass-destruction items too, uses so called "loot balls", which are object to pack all the loot in, to reduce lag. Maybe, this is the way to solve the OOM-failure problem.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions