Skip to content

falling back from inlining #3567

@telephon

Description

@telephon

Here is a general design issue about the trade off between pure object oriented semantics and performance optimizations.

Strictly speaking, it should be always the receiver of a message that decides what to do with it. Because we generate optimized bytecode for commonly used operations, this rule is broken in some cases:

  • if

(any more?) (edited)(please keep editing)

These cannot be extended by objects, which is problematic when you try to extend the language, because they are really core operations.

So the issue is: is there any middle ground between OOP and byte code optimized methods?

Metadata

Metadata

Assignees

No one assigned

    Labels

    comp: sclangsclang C++ implementation (primitives, etc.). for changes to class lib use "comp: class library"waiting for information

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions