• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. how to remove duplicates in a string

Stats

  • Locked Locked
  • Replies 10
  • Subscribers 144
  • Views 16161
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to remove duplicates in a string

gharish
gharish over 11 years ago

Please tell me how to remove duplicates in a given string

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    Yes, I'm sure it's private. I wouldn't have said so otherwise. I checked in our internal registry.

    I was involved in the team that set up the rules for SKILL function naming (probably about 15 years ago now) and so most things since then follow the rules. However, certain historical functions do not - and we weren't going to edit their names (and risk destabilizing the code).

    Occasionally there are implementations in core SKILL which are not ready yet, and so we choose not to document them and make them public until they are. unwindProtect is also documented in IC615 - so that's not one. Some of the others are historically there, but have never been chosen to be made public. Depending on the state of their implementation, that may change - but I don't see artUnique being one of those because it's a utility function owned by the ADE team, and if it was public it would make more sense for it to be in core SKILL.

    The general rule is that new public functions should have a clearly public name, and should be documented. So if it is not documented, it is not public (at least not yet if it is new), and should be avoided because it is liable to change.

    Regards,

    Andrew.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    Yes, I'm sure it's private. I wouldn't have said so otherwise. I checked in our internal registry.

    I was involved in the team that set up the rules for SKILL function naming (probably about 15 years ago now) and so most things since then follow the rules. However, certain historical functions do not - and we weren't going to edit their names (and risk destabilizing the code).

    Occasionally there are implementations in core SKILL which are not ready yet, and so we choose not to document them and make them public until they are. unwindProtect is also documented in IC615 - so that's not one. Some of the others are historically there, but have never been chosen to be made public. Depending on the state of their implementation, that may change - but I don't see artUnique being one of those because it's a utility function owned by the ADE team, and if it was public it would make more sense for it to be in core SKILL.

    The general rule is that new public functions should have a clearly public name, and should be documented. So if it is not documented, it is not public (at least not yet if it is new), and should be avoided because it is liable to change.

    Regards,

    Andrew.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information