Ticket #2 (closed enhancement: fixed)

Opened 2 years ago

Last modified 1 year ago

C code for performance critical sections

Reported by: ian Assigned to: ian
Priority: minor Milestone: Urwid 0.9.8
Component: rendering Version:
Keywords: Cc:

Description

There are some performance-critical functions that should be rewritten in C:

  • utable.py functions:
    • get_width
    • decode_one
    • decode_one_right
  • utils.py functions:
    • move_prev_char
    • move_next_char
    • is_wide_char
    • calc_width
    • calc_text_pos
    • within_double_byte

Attachments

Change History

01/08/07 08:21:31 changed by ian

I've created a branch for the work that Rebecca Breu has done: source:urwid/branches/rbreu-cmodule

If anyone knows a cross-platform way to package the module, please submit patches for this branch.

I'm hoping to include this code in 0.9.8, if possible.

01/10/07 14:12:20 changed by ian

  • milestone changed from Urwid 1.0.0 to Urwid 0.9.8.

01/26/07 15:29:28 changed by ian

Rebecca has implemented these functions in source:urwid/branches/rbreu-cmodule

some fixes are in r66. Testing and merging still remain.

02/08/07 22:40:29 changed by ian

  • status changed from new to closed.
  • resolution set to fixed.

merged branch to trunk in r76.


Add/Change #2 (C code for performance critical sections)




Change Properties
Action