# New Ticket Created by  Allison Randal 
# Please include the string:  [perl #58550]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58550 >


Deprecate the following vtable functions:

PMC* cmodulus(PMC* value, PMC* dest)
PMC* cmodulus_int(INTVAL value, PMC* dest)
PMC* cmodulus_float(FLOATVAL value, PMC* dest)

void i_cmodulus(PMC* value)
void i_cmodulus_int(INTVAL value)
void i_cmodulus_float(FLOATVAL value)

According to the documentation, the 'cmod' opcode is "provided for those 
who need it (such as speed-sensitive applications with heavy use of mod, 
but using it only with positive arguments)". There's no point in 
supporting a slow pmc/vtable/mmd-based implementation of an opcode 
that's only included as an optimization.

Also deprecate the two-argument forms of the 'cmod' opcode (which only 
existed as an artifact of the old multiple dispatch system).

Allison

Reply via email to