Skip to content

Optimize data types of internal structs #352

Description

@hayashi-mas-wap

We have a lot data type conversions:
e.g.

lexicon.set_dic_id(self.lexicons.len() as u8);

let dict_id = id.dict().as_raw() as usize;

Most of them are necessary, but we may optimize how to keep values in each structs to reduce type conversion.

As this relates to the performance, we need to measure run time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions